package com.xch.dao;

import com.xch.bean.User;

import java.util.List;

public interface BaseUserDao {

    List<User> findAll(boolean limit,int offset,int pageNumber);

    int total();

    User findByPhone(String userPhone);

    boolean insert(User u);

    boolean update(int id,User u);

    boolean delete(int id);
}
